<template>
  <div class="article">
    <van-nav-bar
        class="app-nav-bar"
        left-text="返回"
        :title="$router.params.id"
        left-arrow
        @click-left="$router.go(-1)"
    >
      <template #right>
        <van-icon name="ellipsis" />
      </template>
    </van-nav-bar>
  </div>
</template>
<script>
export default {
  data(){
    return{
      title:'biaoti1',
      data:'2021-1-1'
    }
  },
  methods:{
    onRefresh(){
      // 异步请求
      this.$dialog.alert({
        title:'下拉提示'
      }).then(()=>{
        this.isLoading = false
      })
    }
  }
}
</script>
<style lang="less" scoped>
/deep/ .article{
  .van-grid-item__content{
    padding:unset;
    background-color: violet;
}
}

</style>